﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DTO
{
    public class CPHONG
    {
        private String _tenPhong;
        private String _maPhong;
        private String _maLoaiPhong;
        private int _tinhTrang;

        public int TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }

        public String TenPhong
        {
            get
            {
                return _tenPhong;
            }
            set
            {
                _tenPhong = value;
            }
        }
        public String MaPhong
        {
            get
            {
                return _maPhong;
            }
            set
            {
                _maPhong = value;
            }
        }

        public String MaLoaiPhong
        {
            get { return _maLoaiPhong; }
            set { _maLoaiPhong = value; }
        }

        // ham khoi tao
        public CPHONG()
        {
            this.TinhTrang = -1;
        }
        public CPHONG(String TenP,String MaP,String MaLoaiP,int TinhT)
        {
            this.TenPhong = TenP;
            this.MaPhong = MaP;
            this.MaLoaiPhong = MaLoaiP;
            this.TinhTrang = TinhT;
        }

       
    }
}
